package com.zhiyou100.servicrImpl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou100.mapper.user.UserMapper;
import com.zhiyou100.model.User;
import com.zhiyou100.service.UserService;
@Service
public class UserServiceImpl implements UserService{
	@Autowired
	private UserMapper mapper;
	@Override
	public User login(Map<String, String> map) {
		User user = mapper.login(map);
		return user;
	}

}
